import {createLogger, createStore} from 'vuex'

import getters from './getters.js'
import modules from "./store";
// import { isNotProduction } from "@/tools/common";

// const debug = isNotProduction()
const debug = false

export default createStore({
  modules,
  getters,
  strict: debug,
  plugins: debug ? [createLogger()] : []
})
